package net.wicp.tams.common.binlog.self.event;

import net.wicp.tams.common.Result;
import net.wicp.tams.common.binlog.self.bean.EventBean;
import net.wicp.tams.common.binlog.self.sender.ISender;

public class XidEvent extends AbsEvent {
	private long xid;

	public XidEvent(EventBean event) {
		super(event);
	}

	@Override
	public Result parseBody(ISender... senders) {
		rowlog("XidEvent事件的body位置");
		xid = super.logBuffer.getLong64();// ByteUtil.readLongL(assitRead.readBytes(8));
		return Result.getSuc();
	}

	public long getXid() {
		return xid;
	}

}
